import 'package:flutter_base_plugin/flutter_base_plugin.dart';

import '../../../net/http_urls.dart';
import '../m/user_model.dart';

class UserViewModel extends BaseRefreshViewModel<UserModel> {
  // @override
  // int configPageSize() {
  //   // TODO: implement configPageSize
  //   return 2;
  // }

  @override
  Map<String, dynamic> getRequestParams() {
    return {
      "page": pageNum,
      "size": pageSize,
    };
  }

  @override
  String getTag() {
    // TODO: implement getTag
    return "UserViewModel";
  }

  @override
  String getUrl() {
    // TODO: implement getUrl
    return HttpUrls.userList;
  }
}
